#include<stdio.h>
void foo1() {
	int i = 1;
	printf("&i==%p,i=%d\n", &i, i);
	foo1();
}
void foo2() {
	static int i = 1;
	printf("&i==%p,i=%d\n", &i, i);
	foo2();
}

long long next_fib(void) {
	static long long a = 0;
	static long long b = 1;
	long long t = a + b;
	a = b;
	b = t;
	return a;
}

int main007() {
	//foo1();
	//foo2();
	printf("next_fib()=%lld\n", next_fib());
	printf("next_fib()=%lld\n", next_fib());
	printf("next_fib()=%lld\n", next_fib());
	printf("next_fib()=%lld\n", next_fib());
	printf("next_fib()=%lld\n", next_fib());
	return 0;
}